home *** CD-ROM | disk | FTP | other *** search
- ; Sample configuration file for ChgAddr
- ;
- ;
- ; Comments can be anywhere on a line as long as they begin with a ";"
- ;
- ; Blank lines separate different address rules. If you want spacing
- ; between your lines within a rule, you need to use a semicolon so that
- ; ChgAddr won't think that you're ending that rule.
- ;
- ; When writing rules, you should note that ChgAddr will only use the
- ; first matching rule on a given NetMail message. You may need to use
- ; an "Except" to prevent ChgAddr from matching early.
- ;
- Old-From 1:1/6 ; Private network address
- Old-To All Except 1:1/0 1 2 3 4 5 ; List of nodes in the private network
- 6 8 10 11 12 102 ; (continued on multiple lines)
- 103 201 129/40
- ; This is my FidoNet address
- New-From 1:129/45
-
- ;
- ; Note the blank line above this line. That signifies the end of the
- ; first rule.
- ;
- New-To 1/0 ; This rule will be ignored since
- ; there are no "Old" matches listed
-
- ;
- ; Node 129/40 is the same as 129/5 except that 129/5 has a high speed
- ; modem, so we'll re-route it.
- ;
- ; Note the use of another rewrite for New-From to be 129/45. This is
- ; done since ChgAddr will only apply the first rule matched against the
- ; NetMail message.
- ;
- Old-To 129/40
- New-To 129/5
- New-From 129/45
-
- ;
- ; Multiple "Except" clauses can be used to reverse the previous negation.
- ; In this example, we want to rewrite the addresses for those nodes which
- ; are either not in zone 3 or are in 3:360/All with the final exclusion
- ; of 3:360/5. Multiple "Except" clauses can be VERY confusion, so use them
- ; with caution.
- ;
- ; (For sanity, no rewrites are being done with these matches, but you could,
- ; if you *really* wanted to do so.)
- ;
- Old-To All Except 3:All Except 360/All Except 5
-